home *** CD-ROM | disk | FTP | other *** search
-
-
- NAME
- Tackon
-
- SYNOPSIS
- Tackon - join path, filename and suffix - Requires v37
-
- FUNCTION
- Tackon gets a filename and perhaps a pathname and a
- suffix and creates a new filename out of them.
-
- To add correctly filename to pathname we use AmigaDOS.
-
- If the suffix starts with a "." or "_" (any non
- alnum character), it is directly appended to the
- full filename;
- if suffix starts with an alphanumeric char,
- a "." is prepended.
-
- The resulting string is sent to STDOUT
-
- INPUTS
- PATH,NAME/A,SUFFIX
-
- RESULT
- a filename created with the inputs.
-
- NOTES
- CLI - only
-
- should compile with SAS-C
-
- BUGS
- * there is no check (yet), if suffix is itself a path
- * the resulting filename must not be bigger than 256 chars
-
- SEE ALSO
- dos.library/AddPart
-
- EXAMPLES
- >Tackon x: a:b _c
- a:b_c
-
- >Tackon x:a b c
- x:a/b.c
-
- AUTHOR
- Bernd Noll, Brunnenstrasse 55, D-67661 Kaiserslautern
- noll@student.uni-kl.de
-
-
-
-